package com.xiangyi.teachingsystem.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GroupReview {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @NotNull(message = "groupId不能为空")
    private Integer groupId;
    @NotNull(message = "taskId不能为空")
    private Integer taskId;
    @NotNull(message = "idGroup不能为空")
    private Integer idGroup;
    @NotNull(message = "leaderId不能为空")
    private Integer leaderId;
    @NotNull(message = "leaderName不能为空")
    private String leaderName;
    @NotNull(message = "leaderUrl不能为空")
    private String leaderUrl;
    @NotNull(message = "grade不能为空")
    private String grade;
    @NotNull(message = "comment不能为空")
    private String comment;

}
